Repository navigation
docs: install the 0.6.0 release from PyPI and fold the changelog - #4973
Conversation
yinsong1986
left a comment
There was a problem hiding this comment.
Summary
Docs-and-tests-only PR that moves every user-facing install line (README, docs/index.md hero + copy button, install.md, quickstart.md, iot.md) from @ git+...robots@main to the PyPI release, retires the "docs follow dev / PyPI is an older API" paragraph in favour of a pointer to the v0.6.0 release notes, keeps the git line in exactly one new ## Install the development version section, points edit_uri at main (the branch docs.yml builds and deploys from), and folds the 68 changelog.d/ fragments into ## [0.6.0] - 2026-11-14 via scripts/assemble_changelog.py --apply. tests/test_install_lines.py is inverted to refuse any git+https://github.com/strands-labs/robots outside that one section, and 0.6.0 joins PUBLISHED_RELEASES. No library code is touched. The PR base is the v0.6.0 tag commit itself, so the docs on main describe exactly what the 0.6.0 wheel ships.
What's good
- Independently verified the facts the PR rests on:
strands-robots 0.6.0is the latest on PyPI (uploaded 2026-11-14,lerobot[dataset,feetech,remote]>=0.7.0,<0.8.0under[lerobot]/[all]), thev0.6.0release was published 2026-11-14, so the date correction from11-02is accurate. - Reproduced the claims: the five listed test files pass on the head SHA; the new install-line test fails on
main(8 failures) as described;assemble_changelog.py --checkreports 0 pending;check_changelog_fragment.py --base-ref mainpasses (no hand-written[Unreleased]entry);mkdocs build --strictsucceeds and the built site has the onegit+line only underinstall/with all 37 edit links onedit/main/docs/. grepacross*.py,*.ipynb,*.md,*.yml,*.toml,*.html,*.jsfinds no leftoverrobots@maininstall ref outsidedocs/install.mdand the test that guards it.AGENTS.mdrule updated in step with the test it cites; scope is tight for a 78-file diff (68 of which are mechanical fragment deletions).
What
The docs site still told readers to install from
git+https://github.com/strands-labs/robots@mainand said "the release on PyPI is an older API". 0.6.0 is now on PyPI (with LeRobot 0.7.0 behind[lerobot]), so:docs/index.mdx2 + its copy button,install.md,quickstart.md,iot.md) is nowuv pip install "strands-robots[...]"from PyPI.docs/install.md: the description says PyPI, the "dev branch / older API" paragraph now says the docs match 0.6.0 and links the v0.6.0 release notes. A single new section, Install the development version, keeps the git line for anyone who wantsmain.mkdocs.yml:edit_urinow points atmain(the branch the site is built from) instead ofdev.AGENTS.mdandtests/test_install_lines.py: the rule is now "install the PyPI release". The test refuses anygit+https://github.com/strands-labs/robotsoutside that one section and requires the section to exist exactly once.CHANGELOG.md: followingchangelog.d/README.md§ Releasing, I ranscripts/assemble_changelog.py --apply(68 fragments) and collapsed[Unreleased]into## [0.6.0] - 2026-11-14(it was dated 2026-11-02, but the tag shipped on the 14th).0.6.0is added toPUBLISHED_RELEASESintests/test_changelog_format.py.Why
New users following the site were installing an unreleased git snapshot, and the "older API" sentence was no longer true.
How tested
mkdocs build --strictpasses. The onlygit+line in the built site is the one in the development-version section ofinstall/, and the edit links now point atedit/main/docs/.pytest tests/test_install_lines.py tests/test_changelog_*.py tests/test_docs_*.py tests/test_notebooks_are_light.py: all pass. Onmain, the new install-line test fails, as it should.scripts/assemble_changelog.py --checkreports 0 pending, andscripts/check_changelog_fragment.py --base-ref origin/mainreports no hand-written[Unreleased]entry./tmpvenv, cwd/tmp, no checkout, ranuv pip install "strands-robots[all]"from PyPI. It resolved to strands-robots 0.6.0 + lerobot 0.7.0. Then I ran the quickstart code: the microduck walked to x=1.28 m, the so101 + g1 shared one world, and the 3 srecord=run wrote a dataset.confirm=/approve=left in the docs;operator=,rpcs=, observe-only,read_motion=True,STRANDS_POLICY_REPOSandtwin=Trueare all documented.